package com.hz.basic.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.common.utils.PageUtils;
import com.hz.common.utils.Query;

import com.hz.basic.dao.CbBrushDao;
import com.hz.basic.entity.CbBrushEntity;
import com.hz.basic.service.CbBrushService;


@Service("cbBrushService")
public class CbBrushServiceImpl extends ServiceImpl<CbBrushDao, CbBrushEntity> implements CbBrushService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbBrushEntity> page = this.page(
                new Query<CbBrushEntity>().getPage(params),
                new QueryWrapper<CbBrushEntity>()
        );

        return new PageUtils(page);
    }

}